grub2: Fix bad substitution in review followup
authorColin Walters <walters@verbum.org>
Mon, 27 Oct 2014 16:19:32 +0000 (12:19 -0400)
committerColin Walters <walters@verbum.org>
Mon, 27 Oct 2014 16:19:32 +0000 (12:19 -0400)
This caused GRUB2+EFI installations to fail.

src/libostree/ostree-bootloader-grub2.c

index 19d049247f2cc07dd8f2aeb5e62dba659b7450ff..a9fc9f7dacf474062321be2ef5a58a88ec1fcdcb 100644 (file)
@@ -320,7 +320,7 @@ rm -f ${grub_cfg}.new
       /* NOTE: NON-ATOMIC REPLACEMENT; WE can't do anything else on FAT;
        * see https://bugzilla.gnome.org/show_bug.cgi?id=724246
        */
-      if (!ot_gfile_ensure_unlinked (new_config_path, cancellable, error))
+      if (!ot_gfile_ensure_unlinked (self->config_path_efi, cancellable, error))
         goto out;
       if (!gs_file_rename (new_config_path, self->config_path_efi,
                            cancellable, error))